Assigns an extension to an EDM class.
Syntax
Sub AddExtensionToClass(
Environment As AMEDMEnvironment,
ExtensionRef As AMComRef,
Class As _AMEDM_CLASSES,
[ProgID As String])
Name | Description |
---|---|
Environment |
A reference to the environment object of the vault |
ExtensionRef |
The extension that needs to be assigned |
Class |
The class of object to which the extension needs to be assigned (see below) |
ProgID |
Reserved. See “About reserved objects, methods, and properties.” |
Remarks
Use this method from the AfterRegisterExtension event. It allows the extension to be assigned to an object class (for example, AMBaseline for a baseline extension).
Name | Assign Extension To |
---|---|
All baselines |
|
AMEDM_AMCOMREF |
All AMComRefs. An AMComRef represents an extension registered in the vault |
AMEDM_AMDOCREF |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMDOCREFTYPE |
All Document Reference Type definitions in the Configurator |
AMEDM_AMDOCUMENT |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMDOCUMENTTEMPLATE |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMDOCUMENTTYPE |
|
AMEDM_AMENVIRONMENT |
Used to assign menu extensions to a vault (About AMM Menu Extension projects) |
AMEDM_AMFOLDER |
|
AMEDM_AMNAVIGATIONLEVEL |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMNAVIGATIONVIEW |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMPROPERTYDEF |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMPROPERTYSET |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMSELECTION |
All AMSelection object (static collections) |
AMEDM_AMSSQ |
|
AMEDM_AMWORKPACKAGE |
Reserved. See “About reserved objects, methods, and properties.” |
AMEDM_AMWPSTATE |
|
AMEDM_AMWPTANSITION |
|
AMEDM_AMWPTEMPLATE |
Related information
AddExtensionToDocumentType method
AddExtensionToWPTemplate method